POV-Ray : Newsgroups : povray.binaries.images : Short Code Competition WIPs : Re: Short Code Competition WIPs Server Time
11 Aug 2024 23:24:21 EDT (-0400)
  Re: Short Code Competition WIPs  
From: Tek
Date: 18 Feb 2004 01:41:27
Message: <40330917$1@news.povray.org>
"Dan P" <dan### [at] yahoocom> wrote in message
news:40324145$1@news.povray.org...
> Yeah, don't give up! I mean, I certainly don't expect my entry to win, but
> it's a milestone just to be in the competition. If gettin' good happened
> over night, it wouldn't be any fun :-)

I hadn't realised I had "got good" (well, okay maybe when I came up with version
2 of the city I realised!). Last few times I've tried to write short code I've
got remarkably unimpressive things.

Just to reassure you that I'm not actually that good, here was my attempt to
carve my name out of some spheres:

#default{pigment{rgb 2}finish{specular 1}}#macro D()difference{#end#macro Q(p,d)
D()cylinder{p/9+z,p/9-z,d/9}cylinder{p/9+z,p/9-z,(d-1)/9}}#end#macro S()sphere{<
0,0,0>,1}#end camera{location-20*z angle 25}light_source{<-1,2,-4>,rgb 1}D()S()
union{Q(<8,-4,0>,7)Q(-<8,4,0>,7)}translate-2.2*x}D()S()union{Q(2*y,3)Q(9*y,14)}
}D()S()union{Q(9*x,8)Q(11*x,17)}translate 2.2*x}

And I wanted all that code to fit into an e-mail sig...

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.